package tech.veedo.munchkin.beans.frontend.process;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.veedo.munchkin.beans.basic.Base;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("审核人员对工单的审批记录")
@TableName("MUNC_AUDITOR_PASSING")
public class AuditorPassing extends Base<AuditorPassing> {

    @ApiModelProperty("审核节点记录标识")
    @TableField("node_passing_id")
    private Long nodePassingID;

    @ApiModelProperty("审核人员标识")
    @TableField("auditor_id")
    private Long auditorID;

    @ApiModelProperty("工单标识")
    @TableField("form_id")
    private Long formID;

    @ApiModelProperty("审核人员标识")
    @TableField("psn_id")
    private String psnID;

    @ApiModelProperty("审核人员名称")
    @TableField("psn_name")
    private String psnName;

    @ApiModelProperty("审核人员岗位编码")
    @TableField("post_code")
    private String postCode;

    @ApiModelProperty("审核人员岗位名称")
    @TableField("post_name")
    private String postName;

    @ApiModelProperty("审批状态")
    private Integer state;

    @ApiModelProperty("一次同意，步步同意")
    @TableField("always_agree")
    private boolean alwaysAgree;

    @ApiModelProperty("备注")
    private String remark;

}
